<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <meta name="applicable-device" content="mobile"/>
    <meta name="apple-mobile-web-app-capable" content="no"/>
    <!--<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">-->
    <meta name="format-detection" content="telephone=no"/>

    <link rel="stylesheet" href="css/all.css"/>
    <link rel="stylesheet" href="lib/skin/layer.css"/>
    <link rel="stylesheet" href="css/validform.css"/>
    <script src="lib/flexible.js"></script>
    <script src="lib/jquery-1.9.1.min.js"></script>
    <script src="lib/jquery.cookie.js"></script>
    <script src="lib/layer.js"></script>
    <script src="lib/Validform_v5.3.2.js"></script>
    <script src="js/hgNews.min.js"></script>
</head>
<body>
<!-- header -->
    <header class="header2 back-red">
        <a href="JavaScript:history.go(-1)" class="return"><img src="img/we42343_03.png" /></a>
        <a class="fun share-window"><img src="img/we42343_05.png" /></a>
    </header>
<!-- /header -->
<!-- bodyer -->
<div class="wp back">
    <div class="author">
        <div class="author-title">
            <h1 class="title">首度人生难得的不是选择，而是选择后的坚持</h1>
        </div>
        <div class="author-name fl_cd">
            <img class="top-photo" src="img/tmp/fff23_10.png">
            <span class="my-name">摄影师华子</span>
            <span class="span1 time">2016-06-02</span>
        </div>
        <div class="author-content">结婚刚需，市场规模高达8000亿，客单价高，婚纱摄影被打上了暴利的标签,直接吸引了众多投资者扎堆进入；而消费低频，用户二次价值小,用户获取较难，新人个性化的需求，这些也让部分人望而却步。</div>
        <div class="author-photo"><img class="" src="img/tmp/23324a_03.png"></div>
        <div class="author-photo"><img class="" src="img/tmp/fff23_17.png"></div>
        <div class="author-content">结婚刚需，市场规模高达8000亿，客单价高，婚纱摄影被打上了暴利的标签,直接吸引了众多投资者扎堆进入；而消费低频，用户二次价值小,用户获取较难，新人个性化的需求，这些也让部分人望而却步。</div>
        <div class="author-photo"><img class="" src="img/tmp/fff23_17.png"></div>
        <div class="author-content">结婚刚需，市场规模高达8000亿，客单价高，婚纱摄影被打上了暴利的标签,直接吸引了众多投资者扎堆进入；而消费低频，用户二次价值小,用户获取较难，新人个性化的需求，这些也让部分人望而却步。</div>
        <div class="author-content">结婚刚需，市场规模高达8000亿，客单价高，婚纱摄影被打上了暴利的标签,直接吸引了众多投资者扎堆进入；而消费低频，用户二次价值小,用户获取较难，新人个性化的需求，这些也让部分人望而却步。</div>
    </div>    <div class="grouping l-f">
        <span class="l-f-g1"><span class="objs">影楼</span></span>
        <span class="l-f-g1"><span class="objs">微信营销</span></span>
        <span class="l-f-g1"><span class="objs">影楼</span></span>
        <span class="l-f-g1"><span class="objs">微信</span></span>
    </div>
    <div class="share l-f">
        <a class="l-f-g1" href=""><img src="img/23324a_07.png" alt=""><p class="p">朋友圈</p></a>
        <a class="l-f-g1" href=""><img src="img/23324a_09.png" alt=""><p class="p">QQ空间</p></a>
        <a class="l-f-g1" href=""><img src="img/23324a_11_03.png" alt=""><p class="p">新浪微博</p></a>
        <a class="l-f-g1" href=""><img src="img/23324a_13.png" alt=""><p class="p">QQ好友</p></a>
    </div>
    <ul class="similar">
        <li class="title">相关阅读</li>
        <li><a href="">中国人像摄影学会出席马来西亚摄影会66周年庆典</a></li>
        <li><a href="">中国人像摄影学会出席马来西亚摄影会66</a></li>
        <li><a href="">中国人像摄影学会出席马来西亚摄影会66周年庆典</a></li>
        <li><a href="">中国人像摄影学会出席马来西亚摄影会66周年庆典</a></li>
    </ul>
</div>
<div class="comment-s">
    <div class="comment-title">评论</div>
    <div class="comment-content">
        <div class="comment-name fl_cd">
            <div class="name-img"><img src="img/tmp/fff23_10.png" alt=""></div>
            <div class="name-name">
                <div class="my-name">摄影师李丹</div>
                <div class="my-time"><span>5-28</span>&nbsp;&nbsp;<span> 5:10</span></div>
            </div>
            <div class="name-dian">
                <span class="dian dian_like">
                    <img src="img/fff34_03.png" alt="">
                    <span class="likecount">2000</span>
                    <span class="add red">+1</span>
                </span>
                <span class="dian">
                    <img src="img/fff34_05.png" alt="">
                    <span>2000</span>
                </span>
            </div>
        </div>
        <div class="comment-word">小编　这几年香港的Cosplay摄影不断发展一如其他人像摄影的情况，既会外拍取景亦会在影楼内拍摄。但一般来说，Cosplay摄影需要选取</div>
    </div>
    <div class="comment-content">
        <div class="comment-name fl_cd">
            <div class="name-img"><img src="img/tmp/fff23_10.png" alt=""></div>
            <div class="name-name">
                <div class="my-name">摄影师李丹</div>
                <div class="my-time"><span>5-28</span>&nbsp;&nbsp;<span> 5:10</span></div>
            </div>
            <div class="name-dian">
                <span class="dian dian_like">
                    <img src="img/fff34_03.png" alt="">
                    <span class="likecount">2000</span>
                    <span class="add red">+1</span>
                </span>
                <span class="dian">
                    <img src="img/fff34_05.png" alt="">
                    <span>2000</span>
                </span>
            </div>
        </div>
        <div class="comment-word">小编　这几年香港的Cosplay摄影不断发展一如其他人像摄影的情况，既会外拍取景亦会在影楼内拍摄。但一般来说，Cosplay摄影需要选取</div>
    </div>
</div>
<!-- /bodyer -->
<!-- footer -->
<div class="footer-footer"></div>
<div class="footer-comment">
    <div class="bottom2">
        <form>
            <input class="comment-text" id="id-comment" type="text" placeholder="写评论…">
            <span class="img img1">
                <img src="img/fff34_05.png" alt="">
                <span id="replynum">234</span>
            </span>
            <span class="img" id="dian-collect">
                <img src="img/sdsd2_07.png" alt="">
            </span>
            <span class="img share-window">
                <img src="img/sdsd2_09.png" alt="">
            </span>
        </form>

    </div>
</div>
<!-- /footer -->
<!--评论点赞-->
<script>
    hgNews.dian({
        dian:$(".dian_like"),
        number:".likecount"
    });
</script>
<!--输入弹出-->
<div class="tier-from">
    <div class="hide-div"></div>
    <form class="layer-form fl_cd" action="http://192.168.2.169/app_main.php?mod=comment&action=post" method="post">
        <div class="layer-title">评论文章</div>
        <textarea class="layer-text" datatype="*" errormsg="没有输入！" nullmsg="没有输入！"></textarea>
        <input class="layer-submit" type="submit" value="发表">
    </form>
</div>
<script>
    hgNews.comment({
        go:$("#id-comment"),
        tier:$(".tier-from"),
        form:$(".layer-form")
    });
</script>
<!--点击收藏-->
<script>
    hgNews.dianCollect({dian:$("#dian-collect"),img:"sdsd2_07.png"});
</script>
<!--点击分享-->
<script>
    hgNews.clickLayer($(".share-window"));
</script>


<!--ajxs获取内容-->
<script>
    var getArray = hgNews.newGet();
    console.log(getArray);
    $.ajax({
        type:"post",
        url:hgNews.api.newsShow+"&catid="+getArray['catid']+"&id="+getArray['id'],
        dataType:"json",
        data:getArray,
        error: function (jqXHR, textStatus, errorThrown) {//进行错误信息的处理
            /*弹出jqXHR对象的信息*/
            console.log(jqXHR.responseText + "-" + jqXHR.status + "-" + jqXHR.readyState + "-" + jqXHR.statusText);
            /*弹出其他两个参数的信息*/
            console.log(textStatus);
            console.log(errorThrown);
        },
        success:function(data){
            console.log(data);
            if (data.status == 1){
                for ( var i = 0;i<data.data.images.length;i++){
                    data.data.message = data.data.message.replace( '<!--IMG#'+i+'-->' , '<div class="author-photo"><img class="" src="'+data.data.images[i].src+'"></div>' );
                }
                var content = '<div id="'+data.data.id+'"><div class="author-title"><h1 class="title">'+data.data.subject+'</h1></div>'+
                '<div class="author-name fl_cd"> <img class="top-photo" src="'+data.data.avatar+'"> <span class="my-name">'+data.data.author+'</span> <span class="span1 time">'+data.data.dateline+'</span> </div>'+
                    '<div class="author-content">'+data.data.message+'</div>';
                $(".author").append(content);
                $("#replynum").html(data.data.replynum);

                var reading = '<li><a href="">xxxxxxxxxxxx</a></li>';
                $(".similar").append(reading);
                //todo
            }else {
                alert("data.status="+data.status);
            }
        }
    });
</script>
<!--ajxs获取评论列表-->
<script>
    var comment = {
        id:getArray['id'],
        idtype:"blogid",
        page:0      //todo
    };
    $.ajax({
        type:"post",
        url:hgNews.api.commentList+"&id="+comment.id+"&idtype"+comment.idtype+"&page"+comment.page,
        dataType:"json",
        data:comment,
        error: function (jqXHR, textStatus, errorThrown) {//进行错误信息的处理
            /*弹出jqXHR对象的信息*/
            /*弹出其他两个参数的信息*/
            console.log(textStatus);
            console.log(errorThrown);
        },
        success:function(data){
            console.log(data);
            if (data.status == 1){
                for (var i=0;i<data.data.length;i++){
                    var commentCon = '<div class="comment-content" id="'+data.data[i].cid+'"><div class="comment-name fl_cd">'+
                        '<a href=""><div class="name-img"><img src="'+data.data[i].avatar+'" alt=""></div><div class="name-name"><div class="my-name">'+data.data[i].author+'</div><div class="my-time"><span>'+data.data[i].dateline+'</span></div></div></a>'+
                    '<div class="name-dian"><span class="dian" id="comment-like"><img src="img/fff34_03.png" alt=""><span id="likecount">'+data.data[i].likecount+'</span><span class="add red">+1</span></span><span class="dian"><img src="img/fff34_05.png" alt=""><span>'+data.data[i].referencecount+'</span></span></div></div>'+
                        '<div class="comment-word">'+data.data[i].message+'</div></div>';
                    $(".comment-s").append(commentCon);
                }
            }else {
                alert("data.status="+data.status);
            }
        }
    });
</script>
</body>
</html>
